package com.jf.cloud.platform.dto;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * DTO
 *
 * @author zz
 * @date 2023-03-06 09:14:00
 */
public class InformationDTO {
    private static final long serialVersionUID = 1L;

    @Schema(description = "")
    private Long id;

    @Schema(description = "资讯分类")
    private Integer cateId;

    @Schema(description = "资讯内容")
    private String content;

    @Schema(description = "资讯封面")
    private String coverImg;

    @Schema(description = "资讯标题")
    private String title;

    @Schema(description = "资讯排序")
    private int sort;

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getCateId() {
        return cateId;
    }

    public void setCateId(Integer cateId) {
        this.cateId = cateId;
    }

    public String getCoverImg() {
        return coverImg;
    }

    public void setCoverImg(String coverImg) {
        this.coverImg = coverImg;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "InformationDTO{" +
                "id=" + id +
                ",cateId=" + cateId +
                ",content=" + content +
                ",title=" + title +
                '}';
    }
}
